<?
function endDiv()
{
	print'</div>';
}

function getMainPage()
{
	print '<div id="lv-main">
		<div class="lv-sheet clearfix">';
}

function getHeaderTheme($part)
{
	if ($part=='begin')
	{
		print'<header class="lv-header clearfix">
			<div class="lv-shapes">';
	}elseif($part=='headline_begin')
	{
		print'<h1 class="lv-headline" data-left="1.63%">';
	}elseif($part=='headline_end')
	{
		print'</h1>';
	}elseif($part=='slogan_begin')
	{
		print'<h2 class="lv-slogan" data-left="1.63%">';
	}elseif($part=='slogan_end')
	{
		print'</h2>';
	}elseif($part=='banner_begin')
	{
		print'<div class="lv-textblock lv-object0" data-left="0%">
			<div class="lv-object0-text">';
	}elseif($part=='banner_end')
	{
			print '</div>
		</div>';
	}elseif($part=='end')
	{
			print'</div>
		</header>';
	}
}

function getMenuTheme($part)
{
	if($part=='begin')
	{
		print '<nav class="lv-nav clearfix">
			<ul class="lv-hmenu">';
	}elseif($part=='end')
	{
			print '</ul> 
		</nav>';
	}
}

function getPageBody()
{
	print'<div class="lv-layout-wrapper clearfix">
			<div class="lv-content-layout">
				<div class="lv-content-layout-row">';
}

function getSide($side)
{
	print '<div class="lv-layout-cell '.$side.' clearfix">';
}

function getVMenuTheme($part)
{
	if ($part=='begin')
		print '<div class="lv-vmenublock clearfix">';
	elseif ($part=='header')
	{
		print '<div class="lv-vmenublockheader">
			<h3 class="t">';
	}elseif($part=='header_end')
		print '</h3>';
	elseif($part=='content')
	{
		print '<div class="lv-vmenublockcontent">
			<ul class="lv-vmenu">';
	}elseif($part=='content_end')
		print '</ul>';
}

function getSideBlockTheme($part)
{
	if ($part=='begin')
		print'<div class="lv-block clearfix">';
	elseif($part=='header')
	{
		print'<div class="lv-blockheader">
			<h3 class="t">';
	}elseif($part=='header_end')
		print '</h3>';
	elseif($part=='content')
		print '<div class="lv-blockcontent">';
}

function getArcticle($part)
{
	if ($part=='begin')
		print'<article class="lv-post lv-article">';
	elseif($part=='end')
		print '</article>';
}

function getPageNameTheme($part)
{
	if($part=='begin')
	{
		print'<div class="lv-postmetadataheader">
			<h2 class="lv-postheader">';
	}elseif($part=='end')
		print '</h2>';
}

function getCentralPageContainer()
{
	print'<div class="lv-postcontent lv-postcontent-0 clearfix">';
}

function getCentralRow($part)
{
	if ($part=='begin')
	{
		print '<div class="lv-content-layout">
			<div class="lv-content-layout-row">';
	}elseif ($part=='end')
	{
			print'</div>
		</div>';
	}
}

function getCentralContent()
{
	print '<div class="lv-layout-cell layout-item-0" style="width: 100%" >';
}

function getFooterTheme($part)
{
	if ($part=='begin')
		print '<footer class="lv-footer clearfix">';
	elseif($part=='end')
		print '</footer>';
}

function getFooterContainer()
{
	print'<div style="position:relative;padding-left:10px;padding-right:10px">';
}

function getCopyRightTheme($part)
{
	if($part=='begin')
	{
		print '<p class="lv-page-footer">
			<span id="lv-footnote-links">';
	}elseif($part=='end')
	{
			print '</span>
		</p>';
	}
}

function getCentralBlockTheme($type)
{
	if ($type==1)
		print '<div class="lv-layout-cell layout-item-0" style="width: 100%" >';
	elseif($type==2)
		print '<div class="lv-layout-cell layout-item-0" style="width: 50%" >';
	elseif($type==3)
		print '<div class="lv-layout-cell layout-item-0" style="width: 33%" >';
	elseif($type==4)
		print '<div class="lv-layout-cell layout-item-0" style="width: 34%" >';
}
?>